package com.jiangyg.devtools.ui.event;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

/**
 * 类描述：点击按钮事件
 *
 * @author jiangyg
 * @date 2023-08-20
 */
public abstract class ClickButtonEvent extends MouseAdapter {

    @Override
    public void mouseClicked(MouseEvent event) {
        // doClick(event);
    }

    @Override
    public void mouseReleased(MouseEvent event) {
        doClick(event);
    }

    /**
     * 功能描述：点击事件
     *
     * @param event 事件
     */
    public abstract void doClick(MouseEvent event);

}
